﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ACFaceAPI.yufan
{
    /// <summary>
    /// 宇泛接收数据类
    /// </summary>
    public class YuFanResult
    {
        /// <summary>
        /// 处理结果
        /// 0:成功；1：失败
        /// </summary>
        public int result { get; set; }
        /// <summary>
        /// 操作结果
        /// True;False
        /// </summary>
        public bool success { get; set; }

        /// <summary>
        /// 返回信息-接口返回的信息，通常是错误信息
        /// </summary>
        public string msg { get; set; }

        /// <summary>
        /// 返回码-正常操作使用统一返回码，每个异常操作有单独的返回码
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// Int/String/Object/List 等
        /// </summary>
        public object data { get; set; }
    }
}
